<?php
/* @var $this GiftRemainingNumberController */
/* @var $model GiftRemainingNumber */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<div class="row">
		<?php echo $form->labelEx($model,'partners_id'); ?>
		<?php echo $form->dropDownList($model,'partners_id',DistributionGiftNumber::model()->getPartnersName(''), array('options' => array($user_id=>array('selected'=>true)))); ?>
		<?php echo $form->error($model,'partners_id'); ?>
	</div>
	

	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('base','search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->